package com.ztc.ZtcClassesSiteForSale.bean;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.hibernate.annotations.GenericGenerator;

import com.aqgj.util.BaseEntity;
import com.ztc.ZtcClassesForSale.bean.ZtcClassesForSale;
@Entity
@Table(name = "ztc_classes_site_for_sale")
public class ZtcClassesSiteForSale implements BaseEntity{

    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String id;//

    private String name;//å��ç§°

    private java.lang.Integer sequence;//é¡ºåº�

    private java.lang.Integer status;//çŠ¶æ€�ï¼š0.åˆ°ç«™ï¼Œ1.æœªåˆ°

    private String lat;//ç»�çº¬åº¦

    private String areaCity;//æ‰€åœ¨åŸŽå¸‚

    private String areaCode;//åŒºåŸŸä»£ç �

    private java.util.Date departureTime;//å�‘è½¦æ—¶é—´

    private String fkZtcClassesForSaleId;//è¯¥åœ¨å”®ç�­æ¬¡ç«™ç‚¹æ‰€å±žåœ¨å”®ç�­æ¬¡id
    
    private String managerPhone;
    
    private ZtcClassesForSale ztcClassesForSale;

    private Integer type;
    public void setType(Integer type) {
        this.type = type;
    }
    public void setId(String value){
        this.id = value;
    }
    public void setName(String value){
        this.name = value;
    }
    public void setSequence(java.lang.Integer value){
        this.sequence = value;
    }
    public void setStatus(java.lang.Integer value){
        this.status = value;
    }
    public void setLat(String value){
        this.lat = value;
    }
    public void setAreaCity(String value){
        this.areaCity = value;
    }
    public void setAreaCode(String value){
        this.areaCode = value;
    }
    public void setDepartureTime(java.util.Date value){
        this.departureTime = value;
    }
    public void setFkZtcClassesForSaleId(String value){
        this.fkZtcClassesForSaleId = value;
    }
    public void setZtcClassesForSale(ZtcClassesForSale ztcClassesForSale) {
		this.ztcClassesForSale = ztcClassesForSale;
	}
	public void setManagerPhone(String managerPhone) {
		this.managerPhone = managerPhone;
	}
	@Id
    @GeneratedValue(generator = "system-uuid")
    @GenericGenerator(name = "system-uuid", strategy = "uuid")
    @Column(name ="id",unique=false,nullable=false,insertable=true,updatable=true,length=32)
    public String getId(){
        return this.id;
    }
    @Column(name ="name",unique=false,nullable=true,insertable=true,updatable=true,length=32)
    public String getName(){
        return this.name;
    }
    @Column(name ="sequence",unique=false,nullable=true,insertable=true,updatable=true,length=4)
    public java.lang.Integer getSequence(){
        return this.sequence;
    }
    @Column(name ="status",unique=false,nullable=true,insertable=true,updatable=true,length=4)
    public java.lang.Integer getStatus(){
        return this.status;
    }
    @Column(name ="type",unique=false,nullable=true,insertable=true,updatable=true,length=4)
    public Integer getType() {return type;}
    @Column(name ="lat",unique=false,nullable=true,insertable=true,updatable=true,length=25)
    public String getLat(){
        return this.lat;
    }
    @Column(name ="area_city",unique=false,nullable=true,insertable=true,updatable=true,length=13)
    public String getAreaCity(){
        return this.areaCity;
    }
    @Column(name ="area_code",unique=false,nullable=true,insertable=true,updatable=true,length=32)
    public String getAreaCode(){
        return this.areaCode;
    }
    @Column(name ="departure_time",unique=false,nullable=true,insertable=true,updatable=true,length=0)
    public java.util.Date getDepartureTime(){
        return this.departureTime;
    }
    @Column(name ="fk_ztc_classes_for_sale_id",unique=false,nullable=false,insertable=true,updatable=true,length=32)
    public String getFkZtcClassesForSaleId(){
        return this.fkZtcClassesForSaleId;
    }
    @Column(name ="manager_phone",unique=false,nullable=true,insertable=true,updatable=true,length=12)
    public String getManagerPhone() {
		return managerPhone;
	}
	@Transient
	public ZtcClassesForSale getZtcClassesForSale() {
		return ztcClassesForSale;
	}
} 
